---
layout: "default"
title: "MirrorPathType"
description: "Swift documentation for 'MirrorPathType': A protocol for legitimate arguments to Mirror&#39;s descendant."
keywords: "MirrorPathType,protocol,swift,documentation"
root: "/v2.2"
---

<div class="intro-declaration"><code class="language-swift">protocol MirrorPathType</code></div>

<div class="discussion comment">
    <p>A protocol for legitimate arguments to <code>Mirror</code>&#39;s <code>descendant</code>
method.</p>

<p>Do not declare new conformances to this protocol; they will not
work as expected.</p>
</div>

<table class="standard">
<tr>
<th id="inheritance">Inheritance</th>
<td>
<span class="viz"><a href="hierarchy/">View Protocol Hierarchy &rarr;</a></span>
</td>
</tr>



<tr>
<th>Import</th>
<td><code class="language-swift">import Swift</code></td>
</tr>

</table>









